import http from '../utills/request'

export const getTableData = ()=>http.get('/category/getCategory',{})
export const delTableData = (category_id)=>http.get('/category/delCategory',{
    params:{
        category_id
    }
})

export const updataApi = (categoryName,category_id)=>http.post('/category/updateCategory',{
    categoryName,
    category_id
})